powerpc/lib/Makefile: Don't pull in quad.o for 32-bit kernels
authorJames Clarke <jrtc27@jrtc27.com>
Sun, 18 Feb 2018 15:54:44 +0000 (15:54 +0000)
committerBastian Blank <waldi@debian.org>
Mon, 13 Aug 2018 13:33:58 +0000 (14:33 +0100)
commitbd664eb65121ff2aac5ff0488f18d1dfe9ff2567
treea6eec4612e2df87ea2cdafd3ebf61fcf9ade04c4
parent23cbf902ac85e6b78a6b86106459c2421dc2f60a
powerpc/lib/Makefile: Don't pull in quad.o for 32-bit kernels

The functions exported by quad.o are only used when guarded by
__powerpc64__ and so are unused on 32-bit kernels. Moreover, their
implementations make use of instructions which will cause an illegal
instruction error on 32-bit processors, and are not accepted by the
assembler for SPE processors.

Fixes: 31bfdb036f12 ("powerpc: Use instruction emulation infrastructure to handle alignment faults")
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Gbp-Pq: Topic bugfix/powerpc
Gbp-Pq: Name powerpc-lib-makefile-don-t-pull-in-quad.o-for-32-bit.patch
arch/powerpc/lib/Makefile